package com.ruoyi.web.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 质押奖励配置对象 user_empower_config
 * 
 * @author ruoyi
 * @date 2023-01-04
 */
public class UserEmpowerConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 级别 */
    @Excel(name = "级别")
    private Long level;

    /** 奖励 */
    @Excel(name = "奖励")
    private BigDecimal minReward;

    /** 奖励 */
    @Excel(name = "奖励")
    private BigDecimal maxReward;

    /** 条件 */
    @Excel(name = "条件")
    private BigDecimal minCondition;

    /** 条件 */
    @Excel(name = "条件")
    private BigDecimal maxCondition;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setMinReward(BigDecimal minReward) 
    {
        this.minReward = minReward;
    }

    public BigDecimal getMinReward() 
    {
        return minReward;
    }
    public void setMaxReward(BigDecimal maxReward) 
    {
        this.maxReward = maxReward;
    }

    public BigDecimal getMaxReward() 
    {
        return maxReward;
    }
    public void setMinCondition(BigDecimal minCondition) 
    {
        this.minCondition = minCondition;
    }

    public BigDecimal getMinCondition() 
    {
        return minCondition;
    }
    public void setMaxCondition(BigDecimal maxCondition) 
    {
        this.maxCondition = maxCondition;
    }

    public BigDecimal getMaxCondition() 
    {
        return maxCondition;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("minReward", getMinReward())
            .append("maxReward", getMaxReward())
            .append("minCondition", getMinCondition())
            .append("maxCondition", getMaxCondition())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
